<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>第一个js程序</title>
    <script type="text/javascript">
        //console.log("嘻嘻嘻");
        var a=123 ;
        var b=12;
        var c='2'
        var age=116;
        var result = age<18?"年龄太小":"年龄已达到";
        alert(result);
    </script>
</head>
<body>
<h1>第一个js程序</h1>


</body>

</html>